added maxout and lwta select funcs