made prefix and suffix private methods