moved select tags to server side for better speed