draft functions testing