limit scope of method