declare readonly and local variables