share class created and implemented