user class created and structure built