implements some context command