a little syntax check added!