grofit function for inspiration