changed declaration style