testing out a custom compile function