implemented derpy build method