added some comments for yorgje, so he can understand wtf have I done to his poor code :3