Also allowing pipe input