Add function doc strings & accepts string or number in padn