better placement of methods