added memset to functions.s