adds some layout stuff and stuff