constructor, getter , frontend