added 1 to end of stmt