traditional loc methods