Implement the code