Cleaned up function description