testing of Tim's script done