replaced front and back with substring-calls