putting all together.