Added methods that accept and return the appropriate data types