making progress
almsot done with 3rd script