Solution for kirk's quest