complete version 1.0 with small database