fruit to owl function calculations added