add mark_as_complete method