all functions but from prototype module replaced with methods operating on "this"