use the passed in value rather than the ivar
Move layout calculation into layoutInfo