using system instead of backticks