procedure returning a result cannot be used as a statement.