add select action logic