method call works