inline class definitions