Functional version for the development environment