add inline to all none member functions