removed async for hooks