added division method and tuned other methods