Solution for jugglingasync, going to refactor in a minute