tryin part inside function