refactor to jstl