Implement basic function.