code blocks for the 2 lines above?