Moved method into steps controller