this is the source code for the Elder app