added cloth stuff to the main