works, but script should be updated