Adding function to call with diff ojective data