Remove extra comma
Add init function