code additions/edits