Fixed bugs, created first example