worked on lab assignment. pretty sure there's a bug in the editor