moved down component invocation