- separated out handler functions from helper functions