added functionallity in engine aswell for the system and component to work