modified servlet