Add expand an collapse metheod