Of course there's a way to do this . Did you look at the code I posted?