I don't think this will work as monitor has not been defined yet