Can you please post the final version of your code? Thanks!