Added property, made positions properties readonly

Added a method to update the start and end positions.
Renamed argument variable.