There were two courtyards inside and houses against the walls .
Originally there were two courtyards inside and residential buildings against the walls .