`projects.[0]` is a weird way to get the first element of a list. Please use `List.head` instead.

Btw, are you sure that `projects` are always non-empty lists? If not, you probably have to return an option type (`None` when `projects` is empty).