interface for level class