protype now working