main functions for dancing cat