move instance methods to top, class ones after.  don't use ternary operator, be super clear