added initial version for whoosh