Oh god, programming can be so frustrating some times.