Added functions calls, statement calls and if control structures.