accepting terminal arguments