moved method check_syntax() to Droplets helper