making it non-asynch