Added if, for, and some function stuff