adding documentation and shared condition