Karnataka Assembly Speaker Ramesh Kumar, against whom 15 ruling coalition rebel MLAs have moved the Supreme Court alleging delay in accepting their resignations, Tuesday said he is working in accordance with the Constitution and was performing his duty.