made init and setCurrentStep methods chainable