Started to implement selection. Still working on it..