completed block class, fixed some errors in double, integer, variable classes