Implemented -t and subfunctionalities