for terminal