backend code removed as its merged in frontend code