first implementation of script … has to be fixed