now working for petrach (basic demo)