My cat has an inept ability to time his potty breaks with me entering the room. It seems like his way of saying hello is to take a nice big crap as soon as I sit at my computer (about 10 feet from the litter box). I recently ran accross this comic strip, which explains the cat mentality I think.