Made the basic operation method much more elegant.