accesing and parsing arguments from terminal