worked on modal