passed first test- implementing done and min now