method return in single line