initial version of a.sh