first trails implementation