code for testing scheme