passing keep as option, fixes #37