first version of my script which will be deleted after.