so is the one my friend wrote pretty close?