stuff from servlet