Ah, it's okay. I think I've managed to modify the code for my needs.