Added adding function