refactor block class