generate statments