modified this beautiful wonderous script