add loc for each method in simple way