async add, fix async test, ammend globals, remove unused functions