Function now simulate shape.