changed to bash syntax