moved action to top