I knew there was an easier way of doing this...