including monitor functions
implements all monitor commands