public controller