rewrite with -e option for better readability