change initialize to constructor