try catch working
if statements now use promises
forcing functions to return promises
fixed all tests