allow empty statements in head and tail of the code