added a way to set default direction of blocks