splitted vanilla from roboguiced version - splitted library from sample