Changed char and added initialization