main work done