solution for s3.  an input mirror lulz