fixed a linking error
adding some basic layout stuff