Initial working functionality.