adding functionality of steps