coding of action for block on portal