Added more stub code for better context