formated class structures