Implement all code