add select behaviour