added solutions discussed in skype meeting on 2014-10-14