use constexpr whenever possible / remove unused member function