read comment

program works, i'll make the abstraction better when i'm back