add public boolean to resource