element adding method completed
working adding requirements, not working directive on add