Creating a custom problem