working on the angular cast stuff