updated component with sources
added new method