bashart function created