Whoops logical error. Need sleep I think