find an easy way to introduce functions