added sel stuff
added sel stuff