implement printing function for wage (incompleted)