adjusting to gist functional example