integrated the block class and added it to a color enumerator