most of the things are working bt widout ajax