moved functionality  to GdxBlock