Implemented the bubbleUp method in which it has built succesfully but not fully sure if it will work properly. Still need to test.