fixed the method calls