Modified for jee pattern