add async support to loaded