removed the popus and replaced it with a coloured alert