whoops
using ruby booleans :D
adding lots of debugging and logging