The basic functionality.