Merged everything together.