seems to be working after try/excepts