better code and update to fview 0.1.11