my first version, a bit buggey
first commit