did work, but caused errors in production, trying something else