capitalize constructor