better output for sub