add boundary prototype