first implementation of claim command