Created initialize methods and attr