adding intermediate code changes for testing