Aspects of code based design of timber structures