Converted activity to set