added steps parameter to initialize() function