modifications done by adding ajax requests