trying to get main calls working