implement the functions in modOutput