shouldnt do async things inside catch clause; made it more appropriate