Final code integration Finally Finished Yeahhhhhhh