improve steps method to add steps to the existing array