Functions should start with a small letter
Pseudo code added for the servlet.