Put all the operations in methods