functions assignments up to 7