more helper methods in models