new method signature for getProfile