Selection working! still bugs, but mostly done