added methods to merge Frontend with backend