working without throw away logic