oh right i recall that i have already made it
the last example is it doing that anyways this is my 5 min project: