initialzed and code formatting