Modified jframework.c