Is there a way to do this without a sleep ? return value from somewhere ? callback ? event ? idk...