Fixed the problem that was confusing me all night!