Refactored some code
revolution part 1