setting readonly instead