trying to create generators