Thx 4 Free Code

Got some source code from a tutorial to fix all my problems :D