changed to return statements