wrote description method for Cap class