I really should write logic to do this...