added a new option and updated size of canvas