implemented new functionality in the brick - still testing