Issue #14 step two implementation: Added method for functionality in Editor class.