add source and based on to function description