edited EDGE stuff a little