Added: Run function after define