Added all logic blocks

Added all logic blocks