Function - Extract

Signed-off-by: ahomiya.com <me@ahomiya.com>