gui selection working