reducing method calls