added input spec