add output to else for testing