trying to make it a bit prettier
fixing gsub