added default values to functionality and stats