manipulations implemented, but need debugging.