added collection class to be the final class based frontend