added specs and lib