starting to work on generate