finally got random shapes working