Logical error
Moved get() to avoid double wait