added barebones level2 and fixed a bug