completed the script for now