This is really weird. I have no idea what's going on. Could you comment or make the code more clear?