first part of excersises for Gen