added public controller