updated method return type