using prepared statements
using meaningful variable names
fixing typo in the license header