tested with prototype