Project 3 (switchin is partly working, still buggy)