code started working in a way I wanted