added old bash version just for backup