class defined with initialize