removed temporary function