sources: replace forma function