allowed blocks as Function