added outline & unoutline functionality