finished exercise, included auto resizing marker, remove marker functionality