editing ability added...in serious need of a refactor before database calls get added in