build out algebra a little