added getters and setters and fixed error for start/end dates