Added method and action to form