Implemented require() by using wire()