added readonly -option