gem added for debugging