added more editing functions