added beam shape code block