better function description/documentation