implement productCon (in a hacky manner)