restrict method scope