Create separate methods for different datatypes