finished code
done