add init method to main