added flattr function