moved component reference and value for placing components