I know it's simple but it might be worth unit testing.