Updating code to work correctly