working on step for recurrent net