test prototype writing