cleaned up ebin.c