adding fun program with functions